﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200109F RID: 4255
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RotaterData : IMessage<RotaterData>, IMessage, IEquatable<RotaterData>, IDeepCloneable<RotaterData>, IBufferMessage
	{
		// Token: 0x170035AF RID: 13743
		// (get) Token: 0x0600BE07 RID: 48647 RVA: 0x002007EC File Offset: 0x001FE9EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RotaterData> Parser
		{
			get
			{
				return RotaterData._parser;
			}
		}

		// Token: 0x170035B0 RID: 13744
		// (get) Token: 0x0600BE08 RID: 48648 RVA: 0x002007F3 File Offset: 0x001FE9F3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RotaterDataReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170035B1 RID: 13745
		// (get) Token: 0x0600BE09 RID: 48649 RVA: 0x00200805 File Offset: 0x001FEA05
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RotaterData.Descriptor;
			}
		}

		// Token: 0x0600BE0A RID: 48650 RVA: 0x0020080C File Offset: 0x001FEA0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RotaterData()
		{
		}

		// Token: 0x0600BE0B RID: 48651 RVA: 0x00200814 File Offset: 0x001FEA14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RotaterData(RotaterData other) : this()
		{
			this.bMOBDFECHFF_ = other.bMOBDFECHFF_;
			this.groupId_ = other.groupId_;
			this.oLGGPKDKGKG_ = other.oLGGPKDKGKG_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600BE0C RID: 48652 RVA: 0x00200851 File Offset: 0x001FEA51
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RotaterData Clone()
		{
			return new RotaterData(this);
		}

		// Token: 0x170035B2 RID: 13746
		// (get) Token: 0x0600BE0D RID: 48653 RVA: 0x00200859 File Offset: 0x001FEA59
		// (set) Token: 0x0600BE0E RID: 48654 RVA: 0x00200861 File Offset: 0x001FEA61
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BMOBDFECHFF
		{
			get
			{
				return this.bMOBDFECHFF_;
			}
			set
			{
				this.bMOBDFECHFF_ = value;
			}
		}

		// Token: 0x170035B3 RID: 13747
		// (get) Token: 0x0600BE0F RID: 48655 RVA: 0x0020086A File Offset: 0x001FEA6A
		// (set) Token: 0x0600BE10 RID: 48656 RVA: 0x00200872 File Offset: 0x001FEA72
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GroupId
		{
			get
			{
				return this.groupId_;
			}
			set
			{
				this.groupId_ = value;
			}
		}

		// Token: 0x170035B4 RID: 13748
		// (get) Token: 0x0600BE11 RID: 48657 RVA: 0x0020087B File Offset: 0x001FEA7B
		// (set) Token: 0x0600BE12 RID: 48658 RVA: 0x00200883 File Offset: 0x001FEA83
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public float OLGGPKDKGKG
		{
			get
			{
				return this.oLGGPKDKGKG_;
			}
			set
			{
				this.oLGGPKDKGKG_ = value;
			}
		}

		// Token: 0x0600BE13 RID: 48659 RVA: 0x0020088C File Offset: 0x001FEA8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RotaterData);
		}

		// Token: 0x0600BE14 RID: 48660 RVA: 0x0020089C File Offset: 0x001FEA9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RotaterData other)
		{
			return other != null && (other == this || (this.BMOBDFECHFF == other.BMOBDFECHFF && this.GroupId == other.GroupId && ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(this.OLGGPKDKGKG, other.OLGGPKDKGKG) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600BE15 RID: 48661 RVA: 0x00200900 File Offset: 0x001FEB00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.BMOBDFECHFF != 0U)
			{
				num ^= this.BMOBDFECHFF.GetHashCode();
			}
			if (this.GroupId != 0U)
			{
				num ^= this.GroupId.GetHashCode();
			}
			if (this.OLGGPKDKGKG != 0f)
			{
				num ^= ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(this.OLGGPKDKGKG);
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600BE16 RID: 48662 RVA: 0x00200978 File Offset: 0x001FEB78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600BE17 RID: 48663 RVA: 0x00200980 File Offset: 0x001FEB80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600BE18 RID: 48664 RVA: 0x0020098C File Offset: 0x001FEB8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.OLGGPKDKGKG != 0f)
			{
				output.WriteRawTag(85);
				output.WriteFloat(this.OLGGPKDKGKG);
			}
			if (this.GroupId != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.GroupId);
			}
			if (this.BMOBDFECHFF != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.BMOBDFECHFF);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600BE19 RID: 48665 RVA: 0x00200A08 File Offset: 0x001FEC08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.BMOBDFECHFF != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BMOBDFECHFF);
			}
			if (this.GroupId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GroupId);
			}
			if (this.OLGGPKDKGKG != 0f)
			{
				num += 5;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600BE1A RID: 48666 RVA: 0x00200A70 File Offset: 0x001FEC70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RotaterData other)
		{
			if (other == null)
			{
				return;
			}
			if (other.BMOBDFECHFF != 0U)
			{
				this.BMOBDFECHFF = other.BMOBDFECHFF;
			}
			if (other.GroupId != 0U)
			{
				this.GroupId = other.GroupId;
			}
			if (other.OLGGPKDKGKG != 0f)
			{
				this.OLGGPKDKGKG = other.OLGGPKDKGKG;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600BE1B RID: 48667 RVA: 0x00200AD9 File Offset: 0x001FECD9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600BE1C RID: 48668 RVA: 0x00200AE4 File Offset: 0x001FECE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 85U)
				{
					if (num != 96U)
					{
						if (num != 120U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.BMOBDFECHFF = input.ReadUInt32();
						}
					}
					else
					{
						this.GroupId = input.ReadUInt32();
					}
				}
				else
				{
					this.OLGGPKDKGKG = input.ReadFloat();
				}
			}
		}

		// Token: 0x04004C78 RID: 19576
		private static readonly MessageParser<RotaterData> _parser = new MessageParser<RotaterData>(() => new RotaterData());

		// Token: 0x04004C79 RID: 19577
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004C7A RID: 19578
		public const int BMOBDFECHFFFieldNumber = 15;

		// Token: 0x04004C7B RID: 19579
		private uint bMOBDFECHFF_;

		// Token: 0x04004C7C RID: 19580
		public const int GroupIdFieldNumber = 12;

		// Token: 0x04004C7D RID: 19581
		private uint groupId_;

		// Token: 0x04004C7E RID: 19582
		public const int OLGGPKDKGKGFieldNumber = 10;

		// Token: 0x04004C7F RID: 19583
		private float oLGGPKDKGKG_;
	}
}
